//
//  NDHomeToolItem.swift
//  NyamanDana
//
//  Created by 李永彬 on 2025/10/25.
//

import SwiftUI

struct NDHomeToolItem: View {
    let model: NDHomeToolModel
    var body: some View {
        VStack(alignment: .center) {
            Image(model.normalIcon)
            Text(model.title)
                .font(.system(size: 12))
                .foregroundColor(Color(hex: "#271F24"))
        }
        .frame(maxWidth: .infinity,
               maxHeight: .infinity,
               alignment: .center)
        .background(Color.clear)
    }
}

struct NDHomeToolModel {
    let title: String
    let normalIcon: String
}
